package com.test.dao;

import java.io.Serializable;
import java.util.Collection;

public class SearchResultSet<T> implements Serializable {

	/**
	 * Generated serial version UID.
	 */
	private static final long serialVersionUID = -5443854629164291024L;

	private DBOperationResult opResult;

	private Collection<T> resultList;

	public Collection<T> getResultList() {
		return resultList;
	}

	public void setResultList(Collection<T> resultList) {
		this.resultList = resultList;
	}

	public int getTotalResultSize() {
		return totalResultSize;
	}

	public void setTotalResultSize(int totalResultSize) {
		this.totalResultSize = totalResultSize;
	}

	private int totalResultSize;

	public DBOperationResult getOpResult() {
		return opResult;
	}

	public void setOpResult(DBOperationResult opResult) {
		this.opResult = opResult;
	}
}
